package com.showsu.editor.utils;

/**
 * @Author: William
 * @Description: 用户会话ID生成器
 * @Date: Created in 5:59 下午 2023/3/20
 * @Modified By:
 */
public class SessionIdGenerator {

    private static final IdGenerator idGenerator = new IdGenerator();

    /**
     * 会话ID的长度
     */
    public static final int length = 20;

    public static String generate(){
        return idGenerator.generateId(length).toLowerCase();
    }
}
